/* 班级信息容器 */
.class-info-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 标题样式 */
.class-info-title h3 {
    color: #333;
    font-weight: 600;
    margin-top: 6px;
    position: relative;
    text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.21);
    top:5px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
}

/* 操作栏样式 */
.operation-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-left: 20px;
    margin-right: 20px;
}

/* 搜索区域样式 */
.search-area {
    flex: 1;
    margin-right: 20px;
}

.search-group {
    display: flex;
    gap: 10px;
    align-items: center;
}


/* 添加按钮样式 */
.add-button {
    margin-left: 20px;
}

/* 表格样式 */
.table {
    margin-bottom: 0;
}

.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: #495057;
    font-weight: 600;
}

.table td {
    vertical-align: middle;
}

/* 按钮组样式 */
.btn-group {
    display: flex;
    gap: 5px;
}

.btn-group .btn {
    padding: 4px 12px;
    font-size: 14px;
}

.btn-group .btn i {
    margin-right: 4px;
}

/* 模态框样式 */
.modal-content {
    border-radius: 8px;
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
}

.modal-title {
    color: #333;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 500;
    color: #495057;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .operation-bar {
        flex-direction: column;
        gap: 15px;
    }

    .search-area {
        width: 100%;
        margin-right: 0;
    }

    .search-group {
        flex-direction: column;
    }

    .search-group .form-control {
        max-width: 100%;
    }

    .add-button {
        width: 100%;
        margin-left: 0;
    }

    .add-button .btn {
        width: 100%;
    }
}
